package com.zw.chat.domain;

import com.zw.chat.common.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author by: zyl
 * @ClassName: User
 * @Description: 用户表
 * @Date: 2024/12/5 9:58
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Document(collection = "user")
public class User extends BaseEntity {

    /* 用户名 */
    private String name;
    /* 性别 */
    private String sex;

}
